<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let num = 3
    switch (num) {
      case 1:
      case 2:
        console.log('case1');
        break;
      case 3:
        console.log('case2');
        break;
      case 5:
        console.log('case3');
        break;
      case 7:
        console.log('case4');
        break;
      default:
        console.log('default')
    }
  </script>
</body>

</html>